<!--菜单栏-->
<nav class="navbar navbar-default navbar-fixed-top menu hidden-xs">
	<div class="container-fluid">
		<div class="nav navbar-left"></div>
		<ul class="nav navbar-nav navbar-right">
			<li><a target="_blank" href="http://lemonce.github.io/lemoncase2/">中文文档</a></li>
			<li><a target="_blank" href="https://www.npmjs.com/package/lc2">LemonCase2 Doc</a></li>
			<li><a href="#/docs">安装文档</a></li>
		</ul>
	</div>
</nav>
<!--工具栏搜索框-->
<div class="container-fluid" id="toolbar">
	<div class="row">
		<div class="col-xs-3 hidden-xs" style="width:150px">
			<a ng-href="#/"><span class="logo"></span></a>
		</div>
		<div class="col-xs-3" id="toolbar-nav" style="width:110px">
			<div id="toolbar-icon-left" class="btn-group toolbar-icon-left">
				<a id="global-back-button" class="btn btn-default"
					title="{{account.username?'':'请先登录'}}"
					ng-click="goBack(navConfig.href)">
					<span class="glyphicon glyphicon-home"
						ng-show="navConfig.type==='home'"></span>
					<span id="lm-icon-left" class="glyphicon glyphicon-share-alt"
						ng-show="navConfig.type==='back'"></span>
					<span class="glyphicon glyphicon-list"
						ng-show="navConfig.type==='project'"></span>
				</a>
			</div>
		</div>
		<div class="col-xs-3" id="toolbar-fn">
			<div class="visible-xs-block">
				<div class="input-group" ng-show="queryConfig.isShow">
					<input class="form-control" type="text" ng-model="queryConfig.keyword" />
					<span class="input-group-btn">
						<button class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
					</span>
				</div>
			</div>
		</div>

		<div class="col-xs-3" id="toolbar-account">
			<div id="login-btnGroup" class="btn-group"
				ng-hide="account.username"
				style="width:120px;float:right">
				<a class="btn" href="#/login" style="width:60px">登录</a>
				<a class="btn" href="#/register" style="width:60px">注册</a>
			</div>
			<div class="btn-group" dropdown-menu ng-show="account.username">
				<button class="btn" id="user">
					<span class="hidden-xs">{{account.username}}</span>
					<span class="glyphicon glyphicon-user"></span>
				</button>
				<button class="btn dropdown-toggle" style="width:30px">
					<span class="caret"></span>
					<span class="sr-only">Toggle Dropdown</span>
				</button>
				<ul class="dropdown-menu" style="left:auto;right:0">
					<li><a ng-href="#/project">我的项目</a></li>
					<li class="divider"></li>
					<li ng-click="logout()"><a href="">退出</a></li>
				</ul>
			</div>
		</div>
	</div>
</div>
